body,p,ul,figure{
    margin: 0px;
    padding: 0px;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: black;
}
body{
    /*(3)避免出现水平滚动条*/
    overflow-x: hidden;
}
/*1.头部*/
header div{
    /*定宽居中*/
    width: 1000px;
    margin: 0 auto;
    /*(1)去除img的空白*/
    line-height: 0px;
}
header div #tel{
    /*电话图片浮动*/
    float: right;
    margin: 19.5px 0;
}
/*2.导航条*/
nav{
    line-height: 50px;
    background-color: red;
}
nav ul{
    /*定宽居中*/
    width: 1000px;
    margin: 0 auto;
}
/*(2)清除浮动*/
nav ul::after{
    display: block;
    content: "";
    visibility: hidden;
    height: 0px;
    clear: both;
}
nav ul li{
    float: left;
    width: 90px;
}
nav ul li a{
    color: white;   
}
/*鼠标悬停上时的样式*/
nav ul li a:hover{
    background-color: white;
    color: red;
    padding:5px 5px 16px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
/*横幅图*/
.banner{
    width: 100%; 
    /*(4)去除留白*/
    line-height: 0; 
}
.banner img{
    width: 100%;
    min-width: 1000px;
}
/*主要内容*/
main{
    width: 100%;
    background-color: #F6F6F6;
}
main .container{
    width: 1000px;
    margin: 0px auto 0px;
}
/*4.1.main_top*/
/*4.1.1.left_nav*/
.container .main_top .left_nav{
    width: 210px;
    float: left;
}
.left_nav .pro_list ul li{
    text-align: right;
    line-height: 30px;
}
.left_nav .pro_list ul li a{
    color: gray;
    font-size: 15px;
}
/*公共的头部设计*/
.header_bg{
    height: 40px;
    background-image: url(../images/lm_bg.jpg);
    line-height: 40px;
    padding-left: 40px;
    font-size: 14px;
}
.left_nav .contact img{
    margin: 10px 0 10px;
}
.left_nav .contact address{
    margin-left: 20px;
    font-style: normal;
    font-size: 15px;
    line-height: 26px;
    letter-spacing: 1px;
}
/*4.1.2推荐产品 right_pro*/
.container .main_top .right_pro{
    margin-top: 10px;
    width: 780px;
    float: right;
}
.more{
    float: right;
    color: gray;
    font-size: 10px;
    margin-top: 8px;
}
.right_pro .pro_pic{
    margin-top: 10px;
}
.right_pro .pro_pic figure{
    margin-top: 10px;
    float: left;
    padding: 8px;
    margin-left: 20px;
    background-color: white;
}
.right_pro .pro_pic figure figcaption{
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    color: black;
}
/*main_bottom*/
/*left_company公司简介*/
.main_bottom{
    margin-top: 10px;
}
.main_bottom .left_company{
    width: 640px;
    float: left;
}
.main_bottom .left_company img{
    float: left;
    margin: 10px;
}
.main_bottom .left_company p{
    padding: 10px;
    line-height: 20px;
    text-indent: 2em;
}
.main_bottom .right_news{
    width: 350px;
    float: right;
}
.main_bottom .right_news ul{
    margin-top: 10px;
}
.main_bottom .right_news ul li{
    line-height: 30px;
    font-size: 14px;
    /*(4)清除浮动*/
    overflow: hidden;
    padding-left: 10px;
}
.right_news ul li a{
    float: left;
}
.right_news ul li span{
    float: right;
}
/*友情链接*/
.friend_link{
    width: 1000px;
    margin: 0 auto;
    line-height: 50px;
}
.friend_link a{
    margin-right: 30px;
}
.friend_link a[href="#"]:hover{
    text-decoration: underline;
    text-decoration-style: dotted;
}
.friend_link a:nth-child(1){
    font-size: 20px;
}
/*页脚区域*/
footer{
    background-color: red;
}
footer .foot{
    width: 700px;
    margin: 0 auto;
    text-align: center;
}
footer .foot p{
    padding: 5px;
    font-size: 14px;
    color: white;
}
/*内墙法清除浮动*/
.clear{
    clear: both;
}
